package com.leo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @ClassName Leo014SpringQuartzApplication
 * @Description springboot集成quartz实现分布式定时任务
 * @Author wangss
 * @date 2021.07.12 20:07
 * @Version 1.0
 */
@SpringBootApplication
@EnableAsync
@EnableScheduling
public class Leo014SpringQuartzApplication {

    public static void main(String[] args) {
        SpringApplication.run(Leo014SpringQuartzApplication.class, args);
    }
}
